package com.company.cloud.sdk.weixin.mini.model;

import com.company.cloud.sdk.weixin.common.model.BaseModel;
import lombok.Getter;
import lombok.Setter;

//@Builder
//@AllArgsConstructor
@Getter
@Setter
public class Code2SessionModel extends BaseModel {

    /**
     * 小程序 appId(是)
     */
    private String appid;

    /**
     * 小程序 appSecret(是)
     */
    private String secret;

    /**
     * 登录时获取的 code(是)
     */
    private String js_code;

    /**
     * 授权类型(是)
     */
    private String grant_type = "authorization_code";

}
